package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_9_15C extends SkymobiProtocolMessage {
	int hallState;
	int roleId1;
	int roleId2;
	int ret;

	public Mmochat_9_15C() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_C_9_15);
	}

	@Override
	protected void decodeBody(SkymobiBuffer in) {
		hallState = in.getUnsignedShort();
		roleId1 = in.getInt();
		roleId2 = in.getInt();
		ret = in.getInt();
	}

	public int getHallState() {
		return hallState;
	}

	public int getRoleId1() {
		return roleId1;
	}

	public int getRoleId2() {
		return roleId2;
	}

	public int getRet() {
		return ret;
	}

}